package com.rockbb.common.utilities.internet;

import java.sql.Date;
import java.util.Collection;
import java.util.List;

public class Email {

	/** 监测任务编号 */
	private int taskId;

	/** 邮件编号 */
	private int emailId;

	/** 发件人地址 */
	private String fromAddr;

	/** 收件人地址 */
	private Collection<String> toAddr;

	/** 抄送地址 */
	private List<String> ccAddr;

	/** 暗送地址 */
	private List<String> bccAddr;

	/** 邮件类型 */
	private int type;

	/** 邮件编码 */
	private String encode;

	/** 邮件主题 */
	private String subject;

	/** 邮件正文 */
	private String body;

	/** 邮件注释 */
	private String notes;

	/** 邮件更新日期 */
	private Date updateDate;

	/** 是否包含附件 */
	private List<String> attachmentList;

	public int getTaskId() {
		return taskId;
	}

	public void setTaskId(int taskId) {
		this.taskId = taskId;
	}

	public int getEmailId() {
		return emailId;
	}

	public void setEmailId(int emailId) {
		this.emailId = emailId;
	}

	public String getFromAddr() {
		return fromAddr;
	}

	public void setFromAddr(String fromAddr) {
		this.fromAddr = fromAddr;
	}

	public Collection<String> getToAddr() {
		return toAddr;
	}

	public void setToAddr(Collection<String> toAddr) {
		this.toAddr = toAddr;
	}

	public List<String> getCcAddr() {
		return ccAddr;
	}

	public void setCcAddr(List<String> ccAddr) {
		this.ccAddr = ccAddr;
	}

	public List<String> getBccAddr() {
		return bccAddr;
	}

	public void setBccAddr(List<String> bccAddr) {
		this.bccAddr = bccAddr;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getEncode() {
		return encode;
	}

	public void setEncode(String encode) {
		this.encode = encode;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getNotes() {
		return notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public List<String> getAttachmentList() {
		return attachmentList;
	}

	public void setAttachmentList(List<String> attachmentList) {
		this.attachmentList = attachmentList;
	}

}
